package com.gxa.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class Duty implements Serializable {
    private static final long serialVersionUID = -7227742779671625652L;

    private Integer dutyID;

    private String name;

    private String descript;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Timestamp addTime;

    private Integer state;


}